/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * EdgeManager
 * iotcore-Edge管理
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Common.Model;
using JDCloudSDK.Core.Annotation;
using Newtonsoft.Json;

namespace  JDCloudSDK.Iotedge.Apis
{

    /// <summary>
    ///  查询Edge列表接口
    /// </summary>
    public class DescribeEdgesWithCoreRequest : JdcloudRequest
    {
        ///<summary>
        /// 当前页, 默认为1
        ///</summary>
        public   int? NowPage{ get; set; }
        ///<summary>
        /// 分页大小，默认为10
        ///</summary>
        public   int? PageSize{ get; set; }
        ///<summary>
        /// 排序关键字--edgeName,status,identifier,createdTime,lastOnlineTime--最多支持一个字段
        ///</summary>
        public   string Order{ get; set; }
        ///<summary>
        /// 顺序，升序降序--asc,desc
        ///</summary>
        public   string Direction{ get; set; }
        ///<summary>
        /// edgeName–支持模糊匹配和精确匹配，可不填
        /// status - 枚举值：ONLINE，OFFLINE , ALL
        /// 
        ///</summary>
        public List<JDCloudSDK.Common.Model.Filter> Filters{ get; set; }

        ///<summary>
        /// 地域ID
        ///Required:true
        ///</summary>
        [Required]
        [JsonProperty("regionId")]
        public   string RegionIdValue{ get; set; }
        ///<summary>
        /// IoTCore实例编号
        ///Required:true
        ///</summary>
        [Required]
        public   string InstanceId{ get; set; }
    }
}